#!/bin/bash

var1=10.1
var2=10.1
var3=10.1
var4=10.1


var5=`bc << EOF 
scale=5
a1 = ( $var1 * $var2 )
b1 = ($var3*$var4)
a1+b1
EOF`

echo The final answer for this test is $var5
